//
//  CCodeCell.m
//  TenMinDemo
//
//  Created by Shawn Li on 2021/3/16.
//  Copyright © 2021 CYXiang. All rights reserved.
//

#import "CCodeCell.h"
@interface CCodeCell()
@property (weak, nonatomic) IBOutlet UILabel *name;
@property (weak, nonatomic) IBOutlet UILabel *code;
@end
@implementation CCodeCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)refreshWith:(NSDictionary *)info{
    self.name.text = info[@"name"];
    self.code.text = [NSString stringWithFormat:@"+%@",info[@"tel"]];
}

@end
